package com.smile.service.config;


import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

@Data
@Configuration
public class MqttConfigurationProperties {
    @Value("${spring.mqtt.server-url}")
    private String url;

    @Value("${spring.mqtt.username}")
    private String username;

    @Value("${spring.mqtt.password}")
    private String password;


    @Value("${spring.mqtt.topic}")
    private String topics;
    private String subClientId;
    private String subTopic;
    private String pubClientId = "heart-nhb-123456";
}
